/*
 ============================================================================
 Name		: TetrisGameApplication.cpp
 Author	  : Vladimir Hozjan
 Copyright   : Copyright (C) 2008 Vladimir Hozjan <vladimir.hozjan@gmail.com>
 Description : Main application class
 ============================================================================
 */

// INCLUDE FILES
#include "TetrisGame.hrh"
#include "TetrisGameDocument.h"
#include "TetrisGameApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CTetrisGameApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CTetrisGameApplication::CreateDocumentL()
	{
	// Create an TetrisGame document, and return a pointer to it
	return CTetrisGameDocument::NewL(*this);
	}

// -----------------------------------------------------------------------------
// CTetrisGameApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CTetrisGameApplication::AppDllUid() const
	{
	// Return the UID for the TetrisGame application
	return KUidTetrisGameApp;
	}

// End of File
